<?php
/**
 * test_vote模块微站定义
 *
 * @author QQRPazWaNPgW
 * @url
 */
defined('IN_IA') or exit('Access Denied');

class Test_voteModuleSite extends WeModuleSite
{
    /*模块名*/
    public $module_name = "test_vote";
    /*活动表*/
    public $table_activity_list = "ims_test_vote_activity_list";
    /**
     * 活动列表
     */
    public function doWebHuodong()
    {
        global $_W;
        /*如果微擎未登录*/
        if (!checklogin()) {
            return;
        }

        $activity_list = pdo_getall($this->table_activity_list);

        include $this->template("activity");
    }
}